﻿using System.Collections.Generic;
using System.Runtime.Serialization;

namespace MyAMS.WebServer.Models
{    
    /// <summary>
    /// 基用户模型
    /// </summary>
    [DataContract]
    public class UserGroup : NamedEntity
    {
        /// <summary>
        /// 获取或设置用户列表
        /// </summary>
        /// <value>用户列表</value>
        [DataMember]
        public IList<User> Users { get; set; }

        /// <summary>
        /// 获取或设置护照
        /// </summary>
        [DataMember]
        public GroupPassport Passport { get; set; }

        /// <summary>
        /// 获取或设置所注册的站点
        /// </summary>
        //[DataMember]
        //public Node NodeRegisteredFrom { get; set; }
        //TODO (5he11)
    }
}
